package connection.replies;

import interfaces.clients.dispatcher.replies.BaseReply;
import java.io.ObjectInputStream;

/** @author Mihail A. Muhin */
public class GetLastVersionReply extends BaseReply {
  private int num = 0;

  public int getNum() {
    return num;
  }

  public GetLastVersionReply(int contents) {
    this.num = contents;
  }

  public void read(ObjectInputStream ois) {
    try {
      num = ((Integer) (ois.readObject())).intValue();
    } catch (Exception e) {

    }
  }


  public GetLastVersionReply() {

  }
}
